package com.tanger.permission.entity.vo;

import com.google.common.base.MoreObjects;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * @Description 权限查询对象
 * @Author Hchenbin
 * @Date 2022/6/27 12:12
 * @Version 1.0
 */
@Data
@ApiModel(value = "PermissionQueryVo",description = "权限查询对象")
public class PermissionQueryVo implements Serializable {

	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "菜单ID")
	private Long id;
	@ApiModelProperty(value = "菜单编码")
	private String menuCode;
	@ApiModelProperty(value = "菜单类型")
	private Integer menuType;
	@ApiModelProperty(value = "菜单名称")
	private String menuName;
	@ApiModelProperty(value = "菜单序号")
	private Long menuSequence;
	@ApiModelProperty(value = "菜单状态(1.可用 0.隐藏)")
	private Integer menuStatus;
	@ApiModelProperty(value = "菜单父级ID")
	private Long parentId;

	@Override
	public String toString() {
		return MoreObjects.toStringHelper(this)
			.add("id", id)
			.add("menuCode", menuCode)
			.add("menuType", menuType)
			.add("menuName", menuName)
			.add("menuSequence", menuSequence)
			.add("menuStatus", menuStatus)
			.add("parentId", parentId)
			.toString();
	}
}
